<#escape x as x?html>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>高级中学选课与学分认定系统</title>
    <link rel="stylesheet" type="text/css" href="${rc.contextPath}/resources/css/easyui.css">
    <link rel="stylesheet" type="text/css" href="${rc.contextPath}/resources/css/icon.css">
    <style type="text/css">
        * {
            font-size: 12px;
        }

        body {
            font-family: "微软雅黑";
            padding: 20px;
            font-size: 13px;
            margin: 0;
        }
    </style>
    <script type="text/javascript" src="${rc.contextPath}/resources/js/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="${rc.contextPath}/resources/js/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="${rc.contextPath}/resources/js/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="${rc.contextPath}/resources/js/jquery.timers-1.2.js"></script>
    <script type="text/javascript" src="${rc.contextPath}/resources/js/share.js"></script>
    <script type="text/javascript" src="${rc.contextPath}/resources/js/detailview.js"></script>
    <script type="text/javascript" src="${rc.contextPath}/resources/js/jquery.jqprint.js"></script>
    <script type="text/javascript" src="${rc.contextPath}/resources/js/electiveTable.js"></script>
</head>
<body id="elective_layout" class="easyui-layout" data-options="fit:true">
<#assign electived=isElective>
<input id="is_elective" type="hidden" value="${electived?string}"/>
<#assign term_param=param.term>
<#assign section_param=param.section>
<input id="term_param" type="hidden" value="${term_param?string}"/>
<input id="section_param" type="hidden" value="${section_param?string}"/>
<input id="student_name" type="hidden" value="${SPRING_SECURITY_CONTEXT.authentication.principal.user.userName?string}"/>
<input id="student_id_no" type="hidden" value="${SPRING_SECURITY_CONTEXT.authentication.principal.user.userIdNo?string}"/>
<input id="teaching_class" type="hidden"/>
<input id="admin_class" type="hidden"/>

<div data-options="region:'center'">
    <table id="course_table"></table>
</div>

<div data-options="region:'south',title: '未定义的区域',split: true,border:true,collapsible:false,onBeforeCollapse:function(){
                return false;
            }" style="height: 250px">
    <#if !electived>
        <div id="log_tabs"></div>
    <#else>
        <table id='course_elective_table'></table>
    </#if>
</div>

<div id="tb">
    <#if !electived>
    <a id="print" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-print',plain:true">打印学生课表</a>
    </#if>
</div>
</body>
</html>
</#escape>